<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ALORK 20150428.01" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>

<link href="<?php echo $this->_var['ecs_css_category']; ?>" rel="stylesheet" type="text/css" />
<?php if ($this->_var['cat_style']): ?>
<link href="<?php echo $this->_var['cat_style']; ?>" rel="stylesheet" type="text/css" />
<?php endif; ?>
<link rel="stylesheet" href="<?php echo $this->_var['ecs_css_my']; ?>" />
<link rel="stylesheet" href="<?php echo $this->_var['__PUC__']; ?>css/common.css" />
  <?php echo $this->smarty_insert_scripts(array('files'=>'common.js,index.js,jquery.js,global.js,compare.js')); ?>
</head>
<body>
	<?php echo $this->fetch('library/page_header.lbi'); ?>
<div id="category">
	<div class="content">

		
		<div class="cate_right" id="cate_right">
			<div class="top">热卖推荐</div>
			<?php $_from = $this->_var['goods_hot']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_hot_0_36922600_1443510868');$this->_foreach['goods_hot'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods_hot']['total'] > 0):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_hot_0_36922600_1443510868']):
        $this->_foreach['goods_hot']['iteration']++;
?>
			<div class="box">
				<a href="<?php echo $this->_var['goods_hot_0_36922600_1443510868']['url']; ?>" target="_blank" class="come_box">
					<img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_hot_0_36922600_1443510868']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_hot_0_36922600_1443510868']['goods_name']; ?>" width="215" height="215" id="goods_thumb" /> 
					<span class="name"><?php echo $this->_var['goods_hot_0_36922600_1443510868']['goods_name']; ?></span>
				</a>
				<div class="price">
			        <?php if ($this->_var['goods_hot_0_36922600_1443510868']['promote_price']): ?>
			        <span class="shop_price"><?php echo $this->_var['goods_hot_0_36922600_1443510868']['promote_price']; ?></span>
			        <?php else: ?>
			        <span class="shop_price"><?php echo $this->_var['goods_hot_0_36922600_1443510868']['shop_price']; ?></span>
			        <?php endif; ?>
			        <span class="sum_comment">已有人<?php echo $this->_var['goods_hot_0_36922600_1443510868']['counts']; ?>评论</span>
				</div>
			</div>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		</div>
		<div class="cate_left">
			<div class="cate">
				<div class="brands_list">
					<div class="left" id="brands_list_left"><span class="text">品牌</span><span class="bias"></span></div>
					<div class="right" id="brands_list_right">
						<?php $_from = $this->_var['brand_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
					    <?php if ($this->_var['item']['brand_logo']): ?>
					    <li class="box box_num_<?php echo $this->_var['key']; ?>">
					    	<a href="search.php?b=<?php echo $this->_var['item']['brand_id']; ?>" target="_blank">
					        	<img src="images/defaultico.gif" class="loadimg" data-original="data/brandlogo/<?php echo $this->_var['item']['brand_logo']; ?>" width="90" height="42" />
					        </a>
					    </li>
					    <?php endif; ?>
					    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</div>
					<div class="more" id="brands_list_more" onclick="brands_more();">更多</div>
					<div class="some" id="brands_list_some" onclick="brands_some();">收起</div>
				</div>
			</div>
			<div class="cate">
				
				<div class="list first_list">
					<div class="left"></div>
					<div class="right"> 
						<?php $_from = $this->_var['cat_layer1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['cat']):
?>
						<a href="<?php echo $this->_var['cat']['url']; ?>" <?php if ($this->_var['cat']['cat_id'] == $this->_var['cat_id']): ?>class="before"<?php endif; ?> <?php if ($this->_var['cat']['current_layer'] == 1): ?>class="before"<?php endif; ?> ><?php echo $this->_var['cat']['cat_name']; ?></a>
						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</div>
				</div>
				
		
				<?php $_from = $this->_var['cat_layer2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['cat']):
?>
				<div class="list <?php if ($this->_var['cat']['cat_id'] == $this->_var['cat_id']): ?>before<?php else: ?><?php $_from = $this->_var['cat']['sub_cat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'catson');if (count($_from)):
    foreach ($_from AS $this->_var['catson']):
?><?php if ($this->_var['catson']['id'] == $this->_var['cat_id']): ?>before<?php endif; ?><?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?><?php endif; ?> <?php if ($this->_var['key'] == 189): ?>none<?php endif; ?>">
					<div class="left">
						
						<a href="<?php echo $this->_var['cat']['url']; ?>" 
							<?php if ($this->_var['cat']['cat_id'] == $this->_var['cat_id']): ?>
								class="before"
							<?php else: ?>
								<?php $_from = $this->_var['cat']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'catson');if (count($_from)):
    foreach ($_from AS $this->_var['catson']):
?>
									<?php if ($this->_var['catson']['id'] == $this->_var['cat_id']): ?>
										class="before"
									<?php endif; ?>
								<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
							<?php endif; ?>>
							<?php echo $this->_var['cat']['cat_name']; ?>
						</a>
						<span class="bias"></span>
					</div>
					<div class="right">
						<?php $_from = $this->_var['cat']['sub_cat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'catson');if (count($_from)):
    foreach ($_from AS $this->_var['catson']):
?>
						<a href="<?php echo $this->_var['catson']['url']; ?>" <?php if ($this->_var['catson']['id'] == $this->_var['cat_id']): ?>class="before"<?php endif; ?>><?php echo $this->_var['catson']['name']; ?></a>
						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</div>
				</div>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				<div class="hr"></div>
			</div>
			<div class="main">
				<div id="list_nav">
					<a href="<?php echo $this->_var['script_name']; ?>-<?php echo $this->_var['cat_id']; ?>-<?php echo $this->_var['pager']['page']; ?>-sort_orders-DESC.html" class="defure <?php if ($this->_var['pager']['sort'] == 'sort_orders' && $this->_var['pager']['order'] == 'DESC'): ?>DESC<?php endif; ?>">综合排序</a>				
					<div class="nav_right">
						<div class="sort ">
							<a href="<?php echo $this->_var['script_name']; ?>-<?php echo $this->_var['cat_id']; ?>-<?php echo $this->_var['pager']['page']; ?>-buy_sum-DESC.html" class="buy_sum <?php if ($this->_var['pager']['sort'] == 'buy_sum' && $this->_var['pager']['order'] == 'DESC'): ?>DESC<?php endif; ?>">销量<span class="arrow"></span></a>
							<a href="<?php echo $this->_var['script_name']; ?>-<?php echo $this->_var['cat_id']; ?>-<?php echo $this->_var['pager']['page']; ?>-click_count-DESC.html" class="click_count <?php if ($this->_var['pager']['sort'] == 'click_count' && $this->_var['pager']['order'] == 'DESC'): ?>DESC<?php endif; ?>">人气<span class="arrow"></span></a>
							<a href="<?php echo $this->_var['script_name']; ?>-<?php echo $this->_var['cat_id']; ?>-<?php echo $this->_var['pager']['page']; ?>-last_update-DESC.html" class="last_update <?php if ($this->_var['pager']['sort'] == 'last_update' && $this->_var['pager']['order'] == 'DESC'): ?>DESC<?php endif; ?>">新品<span class="arrow"></span></a>
							<a href="<?php echo $this->_var['script_name']; ?>-<?php echo $this->_var['cat_id']; ?>-<?php echo $this->_var['pager']['page']; ?>-shop_price-<?php if ($this->_var['pager']['sort'] == 'shop_price' && $this->_var['pager']['order'] == 'ASC'): ?>DESC<?php else: ?>ASC<?php endif; ?>.html" class="shop_price <?php if ($this->_var['pager']['sort'] == 'shop_price' && $this->_var['pager']['order'] == 'DESC'): ?>ASC<?php elseif ($this->_var['pager']['sort'] == 'shop_price'): ?>DESC<?php endif; ?>">价格<span class="arrow"></span></a>
						</div>
						<div class="page_some">
							<?php if ($this->_var['pager']['page_prev']): ?><a class="prev right" href="<?php echo $this->_var['pager']['page_prev']; ?>"><</a><?php endif; ?>
							<a class="pager"><?php echo $this->_var['pager']['page']; ?>/<?php echo $this->_var['pager']['page_count']; ?></a>
							<?php if ($this->_var['pager']['page_next']): ?><a class="next right" href="<?php echo $this->_var['pager']['page_next']; ?>">></a><?php endif; ?>	
						</div>
					</div>
				</div>
				<div class="goods_list" id="goods_list">
					<a class="box freeplan_init" href="freeplan.php" target="_blank"></a>
					<?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['goods_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods_list']['total'] > 0):
    foreach ($_from AS $this->_var['goods']):
        $this->_foreach['goods_list']['iteration']++;
?>
					<div class="box">
						<a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank" class="come_box">
							<img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods']['goods_name']; ?>" width="237" height="237" id="goods_thumb" />
							<?php if ($this->_var['goods']['promote_price']): ?>
	                 		<div class="limit_icon"></div>
	                 		<?php endif; ?>
	                 		<?php if ($this->_var['goods']['is_new'] == 1): ?>
							<div class="by_your_pricing"></div>
	                 		<?php endif; ?>         		
						</a>
						<div class="thumb">
							<?php $_from = $this->_var['goods']['thumb_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'thumb_list');if (count($_from)):
    foreach ($_from AS $this->_var['thumb_list']):
?>
							<img src="images/defaultico.gif" class="loadimg" data-original="<?php echo $this->_var['thumb_list']['thumb_url']; ?>" alt="<?php echo $this->_var['goods']['goods_name']; ?>" width="43px" height="43px" onclick="$(this).parent().parent().find('#goods_thumb').attr('src',$(this).attr('src'));$(this).addClass('before').siblings().removeClass('before');" />
							<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
						</div>
						<div class="name">
							<span class="left"><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><?php echo $this->_var['goods']['goods_name']; ?></a></span>
						</div>
						<div class="price">
				            <?php if ($this->_var['goods']['promote_price']): ?>
				            <span class="shop_price"><?php echo $this->_var['goods']['promote_price']; ?></span>
				            <?php else: ?>
				            <span class="shop_price"><?php echo $this->_var['goods']['shop_price']; ?></span>
				            <?php endif; ?>
		                	<span class="market_price"><?php echo $this->_var['goods']['market_price']; ?></span>
						</div>
						<div class="status">
							<?php if (! $this->_var['goods']['is_taodan']): ?>
							<span class="buy_sum">销量：<?php echo $this->_var['goods']['buy_sum']; ?></span><?php if ($this->_var['goods']['goods_number'] > 0 && $this->_var['is_buy'] || $this->_var['goods']['shopall_note']): ?><span class="right">有货</span><?php else: ?><span class="right c_fff">无货</span><?php endif; ?>
							<?php endif; ?>
						</div>
					</div>
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					<?php if ($this->_var['pager']['page_next']): ?><a class="next_page" href="<?php echo $this->_var['pager']['page_next']; ?>"><span></span></a><?php endif; ?>
				</div>

				
				<?php if ($this->_var['pager']['page_count'] != 1): ?>
				<div class="page_list">
					<div class="list">
						<?php if ($this->_var['pager']['page_prev']): ?><a class="prev" href="<?php echo $this->_var['pager']['page_prev']; ?>">上一页</a><?php endif; ?>
						<?php if ($this->_var['pager']['page_count'] != 1): ?>
							<?php $_from = $this->_var['pager']['page_number']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
								<?php if ($this->_var['pager']['page'] == $this->_var['key']): ?>
									<a class="page_now"><?php echo $this->_var['key']; ?></a>
								<?php else: ?>
									<?php if (! $this->_var['pager']['max'] || $this->_var['key'] != $this->_var['pager']['page_count']): ?>
									<a href="<?php echo $this->_var['item']; ?>"><?php echo $this->_var['key']; ?></a>
									<?php else: ?>
									<span class="more_page">......</span>
									<a href="<?php echo $this->_var['item']; ?>"><?php echo $this->_var['key']; ?></a>
									<?php endif; ?>
								<?php endif; ?>
							<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
						<?php endif; ?>
						<?php if ($this->_var['pager']['page_next']): ?><a class="next" href="<?php echo $this->_var['pager']['page_next']; ?>">下一页</a><?php endif; ?>
					  	<?php if ($this->_var['pager']['page_kbd']): ?>
						<form class="go_page" name="selectPageForm" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
					    <?php $_from = $this->_var['pager']['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
					    	<?php if ($this->_var['key'] == 'keywords'): ?>
					        <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo urldecode($this->_var['item']); ?>" />
					        <?php else: ?>
					        <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo $this->_var['item']; ?>" />
					    	<?php endif; ?>
					    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					    <input type="text" name="page" size="3" class="B_blue" id="pager_page" />
					    <input class="go_page_butn" name="imageField" type="submit" value="确认" style="cursor:pointer;" />
						</form>
					    <?php endif; ?>
					</div>
				</div>
				<?php endif; ?>
				
				
				<div class="cate_bottom">
	        		<?php $_from = $this->_var['ad_1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'ad');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['ad']):
?>
	            	<a href="<?php echo $this->_var['ad']['ad_link']; ?>"><img src="images/defaultico.gif" class="loadimg loadbg" data-original="../data/afficheimg/<?php echo $this->_var['ad']['ad_code']; ?>" alt="" width="1039px;" height="175px;" /></a>
	        		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				</div>
				
				
				<div class="other_cat">
					<div class="left">相关分类：</div>
					<div class="right">
						<?php $_from = $this->_var['all_cat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['cat']):
?>
						<div class="list <?php if ($this->_var['cat']['id'] == $this->_var['cat_id']): ?>before<?php else: ?><?php $_from = $this->_var['cat']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'catson');if (count($_from)):
    foreach ($_from AS $this->_var['catson']):
?><?php if ($this->_var['catson']['id'] == $this->_var['cat_id']): ?>before<?php endif; ?><?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?><?php endif; ?>">
							<?php $_from = $this->_var['cat']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'catson');if (count($_from)):
    foreach ($_from AS $this->_var['catson']):
?>
							<a href="<?php echo $this->_var['catson']['url']; ?>" <?php if ($this->_var['catson']['id'] == $this->_var['cat_id']): ?>class="before"<?php endif; ?>><?php echo $this->_var['catson']['name']; ?></a>
							<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
						</div>
						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</div>
				</div>
				
				
				<div class="you_like" id="TTSlider">
					<div class="top">
						<span class="left">猜你喜欢</span>
						<a class="right">换一批</a> 
					</div>
					<div class="ad" id="ad">
					    <div class="content">
					    	<div class="flexslider" id ="ad_content">
					        	<ul class="slides">
									<li>
										<?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_37380700_1443510868');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_37380700_1443510868']):
?>
										<?php if ($this->_var['key'] >= 0 && $this->_var['key'] < 5): ?>
										<div class="box1">
											<a href="<?php echo $this->_var['goods_random_0_37380700_1443510868']['url']; ?>" target="_blank">
							      				<img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_37380700_1443510868']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_37380700_1443510868']['goods_name']; ?>" width="180" height="180">
							      			</a>
							      			<a class="goods_name" href="<?php echo $this->_var['goods_random_0_37380700_1443510868']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_37380700_1443510868']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_37380700_1443510868']['goods_name']; ?></a>
							      			<?php if ($this->_var['goods_random_0_37380700_1443510868']['promote_price']): ?>
											<span class="shop_price"><?php echo $this->_var['goods_random_0_37380700_1443510868']['promote_price']; ?></span>
							      			<?php else: ?>
							      			<span class="shop_price"><?php echo $this->_var['goods_random_0_37380700_1443510868']['shop_price']; ?></span>
							      			<?php endif; ?>
							      			<span class="counts">已有<?php echo $this->_var['goods_random_0_37380700_1443510868']['counts']; ?>人好评</span>
							      		</div>
							      		<?php endif; ?>
						      			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
									</li>
									<li >
										<?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_37420000_1443510868');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_37420000_1443510868']):
?>
										<?php if ($this->_var['key'] >= 5 && $this->_var['key'] < 10): ?>
										<div class="box1">
											<a href="<?php echo $this->_var['goods_random_0_37420000_1443510868']['url']; ?>" target="_blank">
							      				<img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_37420000_1443510868']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_37420000_1443510868']['goods_name']; ?>" width="180" height="180">
							      			</a>
							      			<a class="goods_name" href="<?php echo $this->_var['goods_random_0_37420000_1443510868']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_37420000_1443510868']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_37420000_1443510868']['goods_name']; ?></a>
							      			<?php if ($this->_var['goods_random_0_37420000_1443510868']['promote_price']): ?>
											<span class="shop_price"><?php echo $this->_var['goods_random_0_37420000_1443510868']['promote_price']; ?></span>
							      			<?php else: ?>
							      			<span class="shop_price"><?php echo $this->_var['goods_random_0_37420000_1443510868']['shop_price']; ?></span>
							      			<?php endif; ?>
							      			<span class="counts">已有<?php echo $this->_var['goods_random_0_37420000_1443510868']['counts']; ?>人好评</span>
							      		</div>
							      		<?php endif; ?>
						      			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
									</li>
							      	<li>
										<?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_37459500_1443510868');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_37459500_1443510868']):
?>
										<?php if ($this->_var['key'] >= 10 && $this->_var['key'] < 15): ?>
										<div class="box1">
											<a href="<?php echo $this->_var['goods_random_0_37459500_1443510868']['url']; ?>" target="_blank">
							      				<img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_37459500_1443510868']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_37459500_1443510868']['goods_name']; ?>" width="180" height="180">
							      			</a>
							      			<a class="goods_name" href="<?php echo $this->_var['goods_random_0_37459500_1443510868']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_37459500_1443510868']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_37459500_1443510868']['goods_name']; ?></a>
							      			<?php if ($this->_var['goods_random_0_37459500_1443510868']['promote_price']): ?>
											<span class="shop_price"><?php echo $this->_var['goods_random_0_37459500_1443510868']['promote_price']; ?></span>
							      			<?php else: ?>
							      			<span class="shop_price"><?php echo $this->_var['goods_random_0_37459500_1443510868']['shop_price']; ?></span>
							      			<?php endif; ?>
							      			<span class="counts">已有<?php echo $this->_var['goods_random_0_37459500_1443510868']['counts']; ?>人好评</span>
							      		</div>
							      		<?php endif; ?>
						      			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
									</li>
					        	</ul>
					    	</div>
					    </div>
				    </div>
				</div>

				
				<div class="recent_browse">
					<div class="top">
						<span class="title">最近浏览</span>
					</div>
					  <div class="box_1">
					    <div class="top">历史浏览记录</div>
					    <div class="boxCenterList clearfix" id='history_list' >
					      <?php 
$k = array (
  'name' => 'history',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?>
					      <?php $_from = $this->_var['goods_random']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_random_0_37514600_1443510868');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods_random_0_37514600_1443510868']):
?>
					      <ul class="clearfix">
					      	<li class="goodsimg">
					      		<a href="<?php echo $this->_var['goods_random_0_37514600_1443510868']['url']; ?>" target="_blank">
					      			<img src="images/defaultico.gif" class="loadimg loadbg" data-original="<?php echo $this->_var['goods_random_0_37514600_1443510868']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods_random_0_37514600_1443510868']['goods_name']; ?>" class="B_blue">
					      		</a>
					      	</li>
					      	<li class="goods_some">
					      		<a class="goods_name" href="<?php echo $this->_var['goods_random_0_37514600_1443510868']['url']; ?>" target="_blank" title="<?php echo $this->_var['goods_random_0_37514600_1443510868']['goods_name']; ?>"><?php echo $this->_var['goods_random_0_37514600_1443510868']['goods_name']; ?>
					      		</a><br>
					      		<?php if ($this->_var['goods_random_0_37514600_1443510868']['promote_price']): ?>
					      		<font class="f1"><span><?php echo $this->_var['goods_random_0_37514600_1443510868']['promote_price']; ?></span></font><br>
					      		<?php else: ?>
					      		<font class="f1"><span><?php echo $this->_var['goods_random_0_37514600_1443510868']['shop_price']; ?></span></font><br>
					      		<?php endif; ?>
					      	</li>
					      </ul>
					      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					    </div>
					  </div>	
				</div>
			</div>
		</div>
	</div>
</div>
	<?php echo $this->fetch('common/footer_ad.lbi'); ?>
	<?php echo $this->fetch('common/page_footer.lbi'); ?>
	<?php echo $this->fetch('common/follow_right.lbi'); ?>
	<?php echo $this->smarty_insert_scripts(array('files'=>'glair.js,jquery.flexslider-min.js')); ?>
	<script type="text/javascript">
		$(function(){
			$('.you_like .top .right').click(function(){
				$('.flex-next').click();
			});
		})
	</script>
	<script type="text/javascript">
		function ajax_like(id,obj){
			htmlobj=$.ajax({url:"goods.php?act=click&id="+id, async:false, dataType:"text", success: function(text){
		        $(obj).parent().find('.like_num').text(text);
		    }});
		}
	</script>

	
	<script>
	  	$(window).load(function() {
	    	$('.flexslider').flexslider({
		      animation: "slide",
		      controlNav: true,
		      animationLoop: true,
		      slideshow: true,
	    	});
	  	});
	</script>

<script type="text/javascript">
    function brands_more(){
        $("#brands_list_right").css('height', 'auto');
        $("#brands_list_right").css('overflow', 'auto');
        $("#brands_list_some").css('display', 'block');
        $("#brands_list_more").css('display', 'none');
    }

    function brands_some(){
        $("#brands_list_right").scrollTop(0);
        $("#brands_list_right").css('height', '56px');
        $("#brands_list_right").css('overflow', 'hidden');
        $("#brands_list_some").css('display', 'none');
        $("#brands_list_more").css('display', 'block');
    }
</script>


<script type="text/javascript">
  var goods_list_height = document.getElementById("goods_list").offsetHeight;
  if(goods_list_height < 400){
    document.getElementById("cate_right").style.height = 1147 + 'px'; //4个
  }else if(goods_list_height > 400 && goods_list_height < 500){
    document.getElementById("cate_right").style.height = 1419 + 'px'; //5个
  }else if(goods_list_height > 500 && goods_list_height < 1000){
  	document.getElementById("cate_right").style.height = 1963 + 'px'; //7个
  }else if(goods_list_height > 1000 && goods_list_height < 1400){
  	document.getElementById("cate_right").style.height = 2507 + 'px'; //9个
  }else if(goods_list_height > 1400 && goods_list_height < 1800){
  	document.getElementById("cate_right").style.height = 2779 + 'px'; //10个
  }else if(goods_list_height > 1800 && goods_list_height < 2300){
  	document.getElementById("cate_right").style.height = 3323 + 'px'; //12个
  }else if(goods_list_height > 2300 && goods_list_height < 2500){
  	document.getElementById("cate_right").style.height = 3595 + 'px'; //13个
  }else{
  	document.getElementById("cate_right").style.height = 4139 + 'px'; //15个
  }
</script>
</body>
</html>